#ifdef SYPX_MEMCHECK
#include "mmgr.h"
#endif

#include "Canvas.h"

namespace SypX
{

	Canvas::Canvas()
	{
		width = 0;
		height = 0;
		color = 0;
		depth = 0;
		fullscreen = true;		
	}
	Canvas::Canvas(UInt width, UInt height, UInt color, UInt depth, bool fullscreen)
	{
		this->width = width;
		this->height = height;
		this->color = color;
		this->depth = depth;
		this->fullscreen =  fullscreen;
	}

	void Canvas::resetCanvas(UInt width, UInt height, UInt color, UInt depth, bool fullscreen)
	{
		this->width = width;
		this->height = height;
		this->color = color;
		this->depth = depth;
		this->fullscreen =  fullscreen;
	}

	void Canvas::resize(UInt width, UInt height)
	{
		this->width = width;
		this->height = height;
	}
	
	UInt Canvas::getWidth()
	{
		return width;
	}
	
	UInt Canvas::getHeight()
	{
		return height;
	}

	Canvas::~Canvas()
	{
	}

}